﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace Algorithms.Expressions
{
    struct ManualExpressionTreeContext
    {
        #region Fields 

        private Expression _tree;
        private double _input;

        #endregion // Fields

        #region Constructor

        public ManualExpressionTreeContext(Expression tree, double input)
        {
            // TODO: Complete member initialization
            _tree = tree;
            _input = input;
        }
        
        #endregion // Constructor

        #region Properties

        public Expression Tree { get { return _tree; } }

        public double Input { get { return _input; } }

        #endregion // Properties
    }
}
